home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / ISSUE10 / PRINTING / LISTING4.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1996-05-22  |  848 b   |  16 lines

  1. function StretchDIBits(
  2.  DC: HDC;            // Device context handle
  3.  DestX,              // Upper left x-coordinate of the destination rect
  4.  DestY,              // Upper left y-coordinate of the destination rect
  5.  DestWidth,          // Width of the destination rectangle
  6.  DestHegiht,         // Height of the destination rectangle
  7.  SrcX,               // Upper left x-coordinate of the source rect
  8.  SrcY,               // Upper left y-coordinate of the source rect
  9.  SrcWidth,           // Width of the source rectangle
  10.  SrcHeight: Integer; // Height of the source rectangle
  11.  Bits: Pointer;      // Address of the bitmap bits
  12.  var BitsInfo: TBitmapInfo;   // Bitmap info structure
  13.  Usage: UINT;        // Contains either DIB_PAL_COLORS or DIB_RGB_COLORS
  14.  Rop: DWORD          // Copy operation of source and destination
  15. ): Integer;
  16.